3.23.1 \(\int \sqrt {a+b x} (A+B x) (d+e x)^{3/2} \, dx\) [2201]

Optimal. Leaf size=250 \[ -\frac {(b d-a e)^2 (3 b B d-8 A b e+5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^3 e^2}-\frac {(b d-a e) (3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{32 b^3 e}-\frac {(3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} (d+e x)^{3/2}}{24 b^2 e}+\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e}+\frac {(b d-a e)^3 (3 b B d-8 A b e+5 a B e) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{64 b^{7/2} e^{5/2}} \]

[Out]

-1/24*(-8*A*b*e+5*B*a*e+3*B*b*d)*(b*x+a)^(3/2)*(e*x+d)^(3/2)/b^2/e+1/4*B*(b*x+a)^(3/2)*(e*x+d)^(5/2)/b/e+1/64*
(-a*e+b*d)^3*(-8*A*b*e+5*B*a*e+3*B*b*d)*arctanh(e^(1/2)*(b*x+a)^(1/2)/b^(1/2)/(e*x+d)^(1/2))/b^(7/2)/e^(5/2)-1
/32*(-a*e+b*d)*(-8*A*b*e+5*B*a*e+3*B*b*d)*(b*x+a)^(3/2)*(e*x+d)^(1/2)/b^3/e-1/64*(-a*e+b*d)^2*(-8*A*b*e+5*B*a*
e+3*B*b*d)*(b*x+a)^(1/2)*(e*x+d)^(1/2)/b^3/e^2

________________________________________________________________________________________

Rubi [A]
time = 0.12, antiderivative size = 250, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {81, 52, 65, 223, 212} \begin {gather*} \frac {(b d-a e)^3 (5 a B e-8 A b e+3 b B d) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{64 b^{7/2} e^{5/2}}-\frac {\sqrt {a+b x} \sqrt {d+e x} (b d-a e)^2 (5 a B e-8 A b e+3 b B d)}{64 b^3 e^2}-\frac {(a+b x)^{3/2} \sqrt {d+e x} (b d-a e) (5 a B e-8 A b e+3 b B d)}{32 b^3 e}-\frac {(a+b x)^{3/2} (d+e x)^{3/2} (5 a B e-8 A b e+3 b B d)}{24 b^2 e}+\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[a + b*x]*(A + B*x)*(d + e*x)^(3/2),x]

[Out]

-1/64*((b*d - a*e)^2*(3*b*B*d - 8*A*b*e + 5*a*B*e)*Sqrt[a + b*x]*Sqrt[d + e*x])/(b^3*e^2) - ((b*d - a*e)*(3*b*
B*d - 8*A*b*e + 5*a*B*e)*(a + b*x)^(3/2)*Sqrt[d + e*x])/(32*b^3*e) - ((3*b*B*d - 8*A*b*e + 5*a*B*e)*(a + b*x)^
(3/2)*(d + e*x)^(3/2))/(24*b^2*e) + (B*(a + b*x)^(3/2)*(d + e*x)^(5/2))/(4*b*e) + ((b*d - a*e)^3*(3*b*B*d - 8*
A*b*e + 5*a*B*e)*ArcTanh[(Sqrt[e]*Sqrt[a + b*x])/(Sqrt[b]*Sqrt[d + e*x])])/(64*b^(7/2)*e^(5/2))

Rule 52

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(a + b*x)^(m + 1)*((c + d*x)^n/(b*(
m + n + 1))), x] + Dist[n*((b*c - a*d)/(b*(m + n + 1))), Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a
, b, c, d}, x] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && NeQ[m + n + 1, 0] &&  !(IGtQ[m, 0] && ( !IntegerQ[n] || (G
tQ[m, 0] && LtQ[m - n, 0]))) &&  !ILtQ[m + n + 2, 0] && IntLinearQ[a, b, c, d, m, n, x]

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 81

Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[b*(c + d*x)^
(n + 1)*((e + f*x)^(p + 1)/(d*f*(n + p + 2))), x] + Dist[(a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)))/(
d*f*(n + p + 2)), Int[(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && NeQ[n + p + 2,
0]

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 223

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rubi steps

\begin {align*} \int \sqrt {a+b x} (A+B x) (d+e x)^{3/2} \, dx &=\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e}+\frac {\left (4 A b e-B \left (\frac {3 b d}{2}+\frac {5 a e}{2}\right )\right ) \int \sqrt {a+b x} (d+e x)^{3/2} \, dx}{4 b e}\\ &=-\frac {(3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} (d+e x)^{3/2}}{24 b^2 e}+\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e}-\frac {((b d-a e) (3 b B d-8 A b e+5 a B e)) \int \sqrt {a+b x} \sqrt {d+e x} \, dx}{16 b^2 e}\\ &=-\frac {(b d-a e) (3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{32 b^3 e}-\frac {(3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} (d+e x)^{3/2}}{24 b^2 e}+\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e}-\frac {\left ((b d-a e)^2 (3 b B d-8 A b e+5 a B e)\right ) \int \frac {\sqrt {a+b x}}{\sqrt {d+e x}} \, dx}{64 b^3 e}\\ &=-\frac {(b d-a e)^2 (3 b B d-8 A b e+5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^3 e^2}-\frac {(b d-a e) (3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{32 b^3 e}-\frac {(3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} (d+e x)^{3/2}}{24 b^2 e}+\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e}+\frac {\left ((b d-a e)^3 (3 b B d-8 A b e+5 a B e)\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {d+e x}} \, dx}{128 b^3 e^2}\\ &=-\frac {(b d-a e)^2 (3 b B d-8 A b e+5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^3 e^2}-\frac {(b d-a e) (3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{32 b^3 e}-\frac {(3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} (d+e x)^{3/2}}{24 b^2 e}+\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e}+\frac {\left ((b d-a e)^3 (3 b B d-8 A b e+5 a B e)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {d-\frac {a e}{b}+\frac {e x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{64 b^4 e^2}\\ &=-\frac {(b d-a e)^2 (3 b B d-8 A b e+5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^3 e^2}-\frac {(b d-a e) (3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{32 b^3 e}-\frac {(3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} (d+e x)^{3/2}}{24 b^2 e}+\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e}+\frac {\left ((b d-a e)^3 (3 b B d-8 A b e+5 a B e)\right ) \text {Subst}\left (\int \frac {1}{1-\frac {e x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {d+e x}}\right )}{64 b^4 e^2}\\ &=-\frac {(b d-a e)^2 (3 b B d-8 A b e+5 a B e) \sqrt {a+b x} \sqrt {d+e x}}{64 b^3 e^2}-\frac {(b d-a e) (3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} \sqrt {d+e x}}{32 b^3 e}-\frac {(3 b B d-8 A b e+5 a B e) (a+b x)^{3/2} (d+e x)^{3/2}}{24 b^2 e}+\frac {B (a+b x)^{3/2} (d+e x)^{5/2}}{4 b e}+\frac {(b d-a e)^3 (3 b B d-8 A b e+5 a B e) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{64 b^{7/2} e^{5/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.75, size = 231, normalized size = 0.92 \begin {gather*} \frac {\sqrt {a+b x} \sqrt {d+e x} \left (15 a^3 B e^3-a^2 b e^2 (31 B d+24 A e+10 B e x)+a b^2 e \left (16 A e (4 d+e x)+B \left (9 d^2+20 d e x+8 e^2 x^2\right )\right )+b^3 \left (8 A e \left (3 d^2+14 d e x+8 e^2 x^2\right )+B \left (-9 d^3+6 d^2 e x+72 d e^2 x^2+48 e^3 x^3\right )\right )\right )}{192 b^3 e^2}+\frac {(b d-a e)^3 (3 b B d-8 A b e+5 a B e) \tanh ^{-1}\left (\frac {\sqrt {e} \sqrt {a+b x}}{\sqrt {b} \sqrt {d+e x}}\right )}{64 b^{7/2} e^{5/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a + b*x]*(A + B*x)*(d + e*x)^(3/2),x]

[Out]

(Sqrt[a + b*x]*Sqrt[d + e*x]*(15*a^3*B*e^3 - a^2*b*e^2*(31*B*d + 24*A*e + 10*B*e*x) + a*b^2*e*(16*A*e*(4*d + e
*x) + B*(9*d^2 + 20*d*e*x + 8*e^2*x^2)) + b^3*(8*A*e*(3*d^2 + 14*d*e*x + 8*e^2*x^2) + B*(-9*d^3 + 6*d^2*e*x +
72*d*e^2*x^2 + 48*e^3*x^3))))/(192*b^3*e^2) + ((b*d - a*e)^3*(3*b*B*d - 8*A*b*e + 5*a*B*e)*ArcTanh[(Sqrt[e]*Sq
rt[a + b*x])/(Sqrt[b]*Sqrt[d + e*x])])/(64*b^(7/2)*e^(5/2))

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(967\) vs. \(2(212)=424\).
time = 0.09, size = 968, normalized size = 3.87

method result size
default \(\frac {\sqrt {e x +d}\, \sqrt {b x +a}\, \left (24 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{3} b \,e^{4}-24 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{4} d^{3} e -62 B \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, a^{2} b d \,e^{2}+18 B \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, a \,b^{2} d^{2} e -20 B \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, a^{2} b \,e^{3} x +12 B \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, b^{3} d^{2} e x +224 A \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, b^{3} d \,e^{2} x +32 A \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, a \,b^{2} e^{3} x +96 B \,b^{3} e^{3} x^{3} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+128 A \,b^{3} e^{3} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}-15 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{4} e^{4}+9 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) b^{4} d^{4}-48 A \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, a^{2} b \,e^{3}+48 A \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, b^{3} d^{2} e +36 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{3} b d \,e^{3}-18 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{2} b^{2} d^{2} e^{2}-12 B \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{3} d^{3} e -72 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a^{2} b^{2} d \,e^{3}+72 A \ln \left (\frac {2 b e x +2 \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+a e +b d}{2 \sqrt {b e}}\right ) a \,b^{3} d^{2} e^{2}+30 B \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, a^{3} e^{3}-18 B \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, b^{3} d^{3}+40 B \sqrt {b e}\, \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, a \,b^{2} d \,e^{2} x +16 B a \,b^{2} e^{3} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+144 B \,b^{3} d \,e^{2} x^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}+128 A a \,b^{2} d \,e^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, \sqrt {b e}\right )}{384 e^{2} \sqrt {\left (b x +a \right ) \left (e x +d \right )}\, b^{3} \sqrt {b e}}\) \(968\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)*(e*x+d)^(3/2)*(b*x+a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/384*(e*x+d)^(1/2)*(b*x+a)^(1/2)*(24*A*ln(1/2*(2*b*e*x+2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+a*e+b*d)/(b*e)^(
1/2))*a^3*b*e^4-24*A*ln(1/2*(2*b*e*x+2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+a*e+b*d)/(b*e)^(1/2))*b^4*d^3*e-62*
B*(b*e)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*a^2*b*d*e^2+18*B*(b*e)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*a*b^2*d^2*e-20*B*(b
*e)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*a^2*b*e^3*x+12*B*(b*e)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*b^3*d^2*e*x+224*A*(b*e)
^(1/2)*((b*x+a)*(e*x+d))^(1/2)*b^3*d*e^2*x+32*A*(b*e)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*a*b^2*e^3*x+96*B*b^3*e^3*x
^3*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+128*A*b^3*e^3*x^2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)-15*B*ln(1/2*(2*b*
e*x+2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+a*e+b*d)/(b*e)^(1/2))*a^4*e^4+9*B*ln(1/2*(2*b*e*x+2*((b*x+a)*(e*x+d)
)^(1/2)*(b*e)^(1/2)+a*e+b*d)/(b*e)^(1/2))*b^4*d^4-48*A*(b*e)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*a^2*b*e^3+48*A*(b*e
)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*b^3*d^2*e+36*B*ln(1/2*(2*b*e*x+2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+a*e+b*d)/
(b*e)^(1/2))*a^3*b*d*e^3-18*B*ln(1/2*(2*b*e*x+2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+a*e+b*d)/(b*e)^(1/2))*a^2*
b^2*d^2*e^2-12*B*ln(1/2*(2*b*e*x+2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+a*e+b*d)/(b*e)^(1/2))*a*b^3*d^3*e-72*A*
ln(1/2*(2*b*e*x+2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+a*e+b*d)/(b*e)^(1/2))*a^2*b^2*d*e^3+72*A*ln(1/2*(2*b*e*x
+2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+a*e+b*d)/(b*e)^(1/2))*a*b^3*d^2*e^2+30*B*(b*e)^(1/2)*((b*x+a)*(e*x+d))^
(1/2)*a^3*e^3-18*B*(b*e)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*b^3*d^3+40*B*(b*e)^(1/2)*((b*x+a)*(e*x+d))^(1/2)*a*b^2*
d*e^2*x+16*B*a*b^2*e^3*x^2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2)+144*B*b^3*d*e^2*x^2*((b*x+a)*(e*x+d))^(1/2)*(b*
e)^(1/2)+128*A*a*b^2*d*e^2*((b*x+a)*(e*x+d))^(1/2)*(b*e)^(1/2))/e^2/((b*x+a)*(e*x+d))^(1/2)/b^3/(b*e)^(1/2)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(e*x+d)^(3/2)*(b*x+a)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(b*d-%e*a>0)', see `assume?` fo
r more detai

________________________________________________________________________________________

Fricas [A]
time = 2.03, size = 734, normalized size = 2.94 \begin {gather*} \left [\frac {{\left (3 \, {\left (3 \, B b^{4} d^{4} - 4 \, {\left (B a b^{3} + 2 \, A b^{4}\right )} d^{3} e - 6 \, {\left (B a^{2} b^{2} - 4 \, A a b^{3}\right )} d^{2} e^{2} + 12 \, {\left (B a^{3} b - 2 \, A a^{2} b^{2}\right )} d e^{3} - {\left (5 \, B a^{4} - 8 \, A a^{3} b\right )} e^{4}\right )} \sqrt {b} e^{\frac {1}{2}} \log \left (b^{2} d^{2} + 4 \, {\left (b d + {\left (2 \, b x + a\right )} e\right )} \sqrt {b x + a} \sqrt {x e + d} \sqrt {b} e^{\frac {1}{2}} + {\left (8 \, b^{2} x^{2} + 8 \, a b x + a^{2}\right )} e^{2} + 2 \, {\left (4 \, b^{2} d x + 3 \, a b d\right )} e\right ) - 4 \, {\left (9 \, B b^{4} d^{3} e - {\left (48 \, B b^{4} x^{3} + 15 \, B a^{3} b - 24 \, A a^{2} b^{2} + 8 \, {\left (B a b^{3} + 8 \, A b^{4}\right )} x^{2} - 2 \, {\left (5 \, B a^{2} b^{2} - 8 \, A a b^{3}\right )} x\right )} e^{4} - {\left (72 \, B b^{4} d x^{2} + 4 \, {\left (5 \, B a b^{3} + 28 \, A b^{4}\right )} d x - {\left (31 \, B a^{2} b^{2} - 64 \, A a b^{3}\right )} d\right )} e^{3} - 3 \, {\left (2 \, B b^{4} d^{2} x + {\left (3 \, B a b^{3} + 8 \, A b^{4}\right )} d^{2}\right )} e^{2}\right )} \sqrt {b x + a} \sqrt {x e + d}\right )} e^{\left (-3\right )}}{768 \, b^{4}}, -\frac {{\left (3 \, {\left (3 \, B b^{4} d^{4} - 4 \, {\left (B a b^{3} + 2 \, A b^{4}\right )} d^{3} e - 6 \, {\left (B a^{2} b^{2} - 4 \, A a b^{3}\right )} d^{2} e^{2} + 12 \, {\left (B a^{3} b - 2 \, A a^{2} b^{2}\right )} d e^{3} - {\left (5 \, B a^{4} - 8 \, A a^{3} b\right )} e^{4}\right )} \sqrt {-b e} \arctan \left (\frac {{\left (b d + {\left (2 \, b x + a\right )} e\right )} \sqrt {b x + a} \sqrt {-b e} \sqrt {x e + d}}{2 \, {\left ({\left (b^{2} x^{2} + a b x\right )} e^{2} + {\left (b^{2} d x + a b d\right )} e\right )}}\right ) + 2 \, {\left (9 \, B b^{4} d^{3} e - {\left (48 \, B b^{4} x^{3} + 15 \, B a^{3} b - 24 \, A a^{2} b^{2} + 8 \, {\left (B a b^{3} + 8 \, A b^{4}\right )} x^{2} - 2 \, {\left (5 \, B a^{2} b^{2} - 8 \, A a b^{3}\right )} x\right )} e^{4} - {\left (72 \, B b^{4} d x^{2} + 4 \, {\left (5 \, B a b^{3} + 28 \, A b^{4}\right )} d x - {\left (31 \, B a^{2} b^{2} - 64 \, A a b^{3}\right )} d\right )} e^{3} - 3 \, {\left (2 \, B b^{4} d^{2} x + {\left (3 \, B a b^{3} + 8 \, A b^{4}\right )} d^{2}\right )} e^{2}\right )} \sqrt {b x + a} \sqrt {x e + d}\right )} e^{\left (-3\right )}}{384 \, b^{4}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(e*x+d)^(3/2)*(b*x+a)^(1/2),x, algorithm="fricas")

[Out]

[1/768*(3*(3*B*b^4*d^4 - 4*(B*a*b^3 + 2*A*b^4)*d^3*e - 6*(B*a^2*b^2 - 4*A*a*b^3)*d^2*e^2 + 12*(B*a^3*b - 2*A*a
^2*b^2)*d*e^3 - (5*B*a^4 - 8*A*a^3*b)*e^4)*sqrt(b)*e^(1/2)*log(b^2*d^2 + 4*(b*d + (2*b*x + a)*e)*sqrt(b*x + a)
*sqrt(x*e + d)*sqrt(b)*e^(1/2) + (8*b^2*x^2 + 8*a*b*x + a^2)*e^2 + 2*(4*b^2*d*x + 3*a*b*d)*e) - 4*(9*B*b^4*d^3
*e - (48*B*b^4*x^3 + 15*B*a^3*b - 24*A*a^2*b^2 + 8*(B*a*b^3 + 8*A*b^4)*x^2 - 2*(5*B*a^2*b^2 - 8*A*a*b^3)*x)*e^
4 - (72*B*b^4*d*x^2 + 4*(5*B*a*b^3 + 28*A*b^4)*d*x - (31*B*a^2*b^2 - 64*A*a*b^3)*d)*e^3 - 3*(2*B*b^4*d^2*x + (
3*B*a*b^3 + 8*A*b^4)*d^2)*e^2)*sqrt(b*x + a)*sqrt(x*e + d))*e^(-3)/b^4, -1/384*(3*(3*B*b^4*d^4 - 4*(B*a*b^3 +
2*A*b^4)*d^3*e - 6*(B*a^2*b^2 - 4*A*a*b^3)*d^2*e^2 + 12*(B*a^3*b - 2*A*a^2*b^2)*d*e^3 - (5*B*a^4 - 8*A*a^3*b)*
e^4)*sqrt(-b*e)*arctan(1/2*(b*d + (2*b*x + a)*e)*sqrt(b*x + a)*sqrt(-b*e)*sqrt(x*e + d)/((b^2*x^2 + a*b*x)*e^2
 + (b^2*d*x + a*b*d)*e)) + 2*(9*B*b^4*d^3*e - (48*B*b^4*x^3 + 15*B*a^3*b - 24*A*a^2*b^2 + 8*(B*a*b^3 + 8*A*b^4
)*x^2 - 2*(5*B*a^2*b^2 - 8*A*a*b^3)*x)*e^4 - (72*B*b^4*d*x^2 + 4*(5*B*a*b^3 + 28*A*b^4)*d*x - (31*B*a^2*b^2 -
64*A*a*b^3)*d)*e^3 - 3*(2*B*b^4*d^2*x + (3*B*a*b^3 + 8*A*b^4)*d^2)*e^2)*sqrt(b*x + a)*sqrt(x*e + d))*e^(-3)/b^
4]

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(e*x+d)**(3/2)*(b*x+a)**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1386 vs. \(2 (222) = 444\).
time = 1.46, size = 1386, normalized size = 5.54 \begin {gather*} -\frac {\frac {192 \, {\left (\frac {{\left (b^{2} d - a b e\right )} e^{\left (-\frac {1}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{\sqrt {b}} - \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \sqrt {b x + a}\right )} A a d {\left | b \right |}}{b^{2}} - \frac {8 \, {\left (\sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \sqrt {b x + a} {\left (2 \, {\left (b x + a\right )} {\left (\frac {4 \, {\left (b x + a\right )}}{b^{2}} + \frac {{\left (b^{6} d e^{3} - 13 \, a b^{5} e^{4}\right )} e^{\left (-4\right )}}{b^{7}}\right )} - \frac {3 \, {\left (b^{7} d^{2} e^{2} + 2 \, a b^{6} d e^{3} - 11 \, a^{2} b^{5} e^{4}\right )} e^{\left (-4\right )}}{b^{7}}\right )} - \frac {3 \, {\left (b^{3} d^{3} + a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - 5 \, a^{3} e^{3}\right )} e^{\left (-\frac {5}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{b^{\frac {3}{2}}}\right )} B d {\left | b \right |}}{b} - \frac {8 \, {\left (\sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \sqrt {b x + a} {\left (2 \, {\left (b x + a\right )} {\left (\frac {4 \, {\left (b x + a\right )}}{b^{2}} + \frac {{\left (b^{6} d e^{3} - 13 \, a b^{5} e^{4}\right )} e^{\left (-4\right )}}{b^{7}}\right )} - \frac {3 \, {\left (b^{7} d^{2} e^{2} + 2 \, a b^{6} d e^{3} - 11 \, a^{2} b^{5} e^{4}\right )} e^{\left (-4\right )}}{b^{7}}\right )} - \frac {3 \, {\left (b^{3} d^{3} + a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - 5 \, a^{3} e^{3}\right )} e^{\left (-\frac {5}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{b^{\frac {3}{2}}}\right )} B a {\left | b \right |} e}{b^{2}} - \frac {8 \, {\left (\sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \sqrt {b x + a} {\left (2 \, {\left (b x + a\right )} {\left (\frac {4 \, {\left (b x + a\right )}}{b^{2}} + \frac {{\left (b^{6} d e^{3} - 13 \, a b^{5} e^{4}\right )} e^{\left (-4\right )}}{b^{7}}\right )} - \frac {3 \, {\left (b^{7} d^{2} e^{2} + 2 \, a b^{6} d e^{3} - 11 \, a^{2} b^{5} e^{4}\right )} e^{\left (-4\right )}}{b^{7}}\right )} - \frac {3 \, {\left (b^{3} d^{3} + a b^{2} d^{2} e + 3 \, a^{2} b d e^{2} - 5 \, a^{3} e^{3}\right )} e^{\left (-\frac {5}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{b^{\frac {3}{2}}}\right )} A {\left | b \right |} e}{b} - \frac {{\left (\sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} {\left (2 \, {\left (b x + a\right )} {\left (4 \, {\left (b x + a\right )} {\left (\frac {6 \, {\left (b x + a\right )}}{b^{3}} + \frac {{\left (b^{12} d e^{5} - 25 \, a b^{11} e^{6}\right )} e^{\left (-6\right )}}{b^{14}}\right )} - \frac {{\left (5 \, b^{13} d^{2} e^{4} + 14 \, a b^{12} d e^{5} - 163 \, a^{2} b^{11} e^{6}\right )} e^{\left (-6\right )}}{b^{14}}\right )} + \frac {3 \, {\left (5 \, b^{14} d^{3} e^{3} + 9 \, a b^{13} d^{2} e^{4} + 15 \, a^{2} b^{12} d e^{5} - 93 \, a^{3} b^{11} e^{6}\right )} e^{\left (-6\right )}}{b^{14}}\right )} \sqrt {b x + a} + \frac {3 \, {\left (5 \, b^{4} d^{4} + 4 \, a b^{3} d^{3} e + 6 \, a^{2} b^{2} d^{2} e^{2} + 20 \, a^{3} b d e^{3} - 35 \, a^{4} e^{4}\right )} e^{\left (-\frac {7}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{b^{\frac {5}{2}}}\right )} B {\left | b \right |} e}{b} - \frac {48 \, {\left (\frac {{\left (b^{3} d^{2} + 2 \, a b^{2} d e - 3 \, a^{2} b e^{2}\right )} e^{\left (-\frac {3}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{\sqrt {b}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} {\left (2 \, b x + {\left (b d e - 5 \, a e^{2}\right )} e^{\left (-2\right )} + 2 \, a\right )} \sqrt {b x + a}\right )} B a d {\left | b \right |}}{b^{3}} - \frac {48 \, {\left (\frac {{\left (b^{3} d^{2} + 2 \, a b^{2} d e - 3 \, a^{2} b e^{2}\right )} e^{\left (-\frac {3}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{\sqrt {b}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} {\left (2 \, b x + {\left (b d e - 5 \, a e^{2}\right )} e^{\left (-2\right )} + 2 \, a\right )} \sqrt {b x + a}\right )} A d {\left | b \right |}}{b^{2}} - \frac {48 \, {\left (\frac {{\left (b^{3} d^{2} + 2 \, a b^{2} d e - 3 \, a^{2} b e^{2}\right )} e^{\left (-\frac {3}{2}\right )} \log \left ({\left | -\sqrt {b x + a} \sqrt {b} e^{\frac {1}{2}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} \right |}\right )}{\sqrt {b}} + \sqrt {b^{2} d + {\left (b x + a\right )} b e - a b e} {\left (2 \, b x + {\left (b d e - 5 \, a e^{2}\right )} e^{\left (-2\right )} + 2 \, a\right )} \sqrt {b x + a}\right )} A a {\left | b \right |} e}{b^{3}}}{192 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(e*x+d)^(3/2)*(b*x+a)^(1/2),x, algorithm="giac")

[Out]

-1/192*(192*((b^2*d - a*b*e)*e^(-1/2)*log(abs(-sqrt(b*x + a)*sqrt(b)*e^(1/2) + sqrt(b^2*d + (b*x + a)*b*e - a*
b*e)))/sqrt(b) - sqrt(b^2*d + (b*x + a)*b*e - a*b*e)*sqrt(b*x + a))*A*a*d*abs(b)/b^2 - 8*(sqrt(b^2*d + (b*x +
a)*b*e - a*b*e)*sqrt(b*x + a)*(2*(b*x + a)*(4*(b*x + a)/b^2 + (b^6*d*e^3 - 13*a*b^5*e^4)*e^(-4)/b^7) - 3*(b^7*
d^2*e^2 + 2*a*b^6*d*e^3 - 11*a^2*b^5*e^4)*e^(-4)/b^7) - 3*(b^3*d^3 + a*b^2*d^2*e + 3*a^2*b*d*e^2 - 5*a^3*e^3)*
e^(-5/2)*log(abs(-sqrt(b*x + a)*sqrt(b)*e^(1/2) + sqrt(b^2*d + (b*x + a)*b*e - a*b*e)))/b^(3/2))*B*d*abs(b)/b
- 8*(sqrt(b^2*d + (b*x + a)*b*e - a*b*e)*sqrt(b*x + a)*(2*(b*x + a)*(4*(b*x + a)/b^2 + (b^6*d*e^3 - 13*a*b^5*e
^4)*e^(-4)/b^7) - 3*(b^7*d^2*e^2 + 2*a*b^6*d*e^3 - 11*a^2*b^5*e^4)*e^(-4)/b^7) - 3*(b^3*d^3 + a*b^2*d^2*e + 3*
a^2*b*d*e^2 - 5*a^3*e^3)*e^(-5/2)*log(abs(-sqrt(b*x + a)*sqrt(b)*e^(1/2) + sqrt(b^2*d + (b*x + a)*b*e - a*b*e)
))/b^(3/2))*B*a*abs(b)*e/b^2 - 8*(sqrt(b^2*d + (b*x + a)*b*e - a*b*e)*sqrt(b*x + a)*(2*(b*x + a)*(4*(b*x + a)/
b^2 + (b^6*d*e^3 - 13*a*b^5*e^4)*e^(-4)/b^7) - 3*(b^7*d^2*e^2 + 2*a*b^6*d*e^3 - 11*a^2*b^5*e^4)*e^(-4)/b^7) -
3*(b^3*d^3 + a*b^2*d^2*e + 3*a^2*b*d*e^2 - 5*a^3*e^3)*e^(-5/2)*log(abs(-sqrt(b*x + a)*sqrt(b)*e^(1/2) + sqrt(b
^2*d + (b*x + a)*b*e - a*b*e)))/b^(3/2))*A*abs(b)*e/b - (sqrt(b^2*d + (b*x + a)*b*e - a*b*e)*(2*(b*x + a)*(4*(
b*x + a)*(6*(b*x + a)/b^3 + (b^12*d*e^5 - 25*a*b^11*e^6)*e^(-6)/b^14) - (5*b^13*d^2*e^4 + 14*a*b^12*d*e^5 - 16
3*a^2*b^11*e^6)*e^(-6)/b^14) + 3*(5*b^14*d^3*e^3 + 9*a*b^13*d^2*e^4 + 15*a^2*b^12*d*e^5 - 93*a^3*b^11*e^6)*e^(
-6)/b^14)*sqrt(b*x + a) + 3*(5*b^4*d^4 + 4*a*b^3*d^3*e + 6*a^2*b^2*d^2*e^2 + 20*a^3*b*d*e^3 - 35*a^4*e^4)*e^(-
7/2)*log(abs(-sqrt(b*x + a)*sqrt(b)*e^(1/2) + sqrt(b^2*d + (b*x + a)*b*e - a*b*e)))/b^(5/2))*B*abs(b)*e/b - 48
*((b^3*d^2 + 2*a*b^2*d*e - 3*a^2*b*e^2)*e^(-3/2)*log(abs(-sqrt(b*x + a)*sqrt(b)*e^(1/2) + sqrt(b^2*d + (b*x +
a)*b*e - a*b*e)))/sqrt(b) + sqrt(b^2*d + (b*x + a)*b*e - a*b*e)*(2*b*x + (b*d*e - 5*a*e^2)*e^(-2) + 2*a)*sqrt(
b*x + a))*B*a*d*abs(b)/b^3 - 48*((b^3*d^2 + 2*a*b^2*d*e - 3*a^2*b*e^2)*e^(-3/2)*log(abs(-sqrt(b*x + a)*sqrt(b)
*e^(1/2) + sqrt(b^2*d + (b*x + a)*b*e - a*b*e)))/sqrt(b) + sqrt(b^2*d + (b*x + a)*b*e - a*b*e)*(2*b*x + (b*d*e
 - 5*a*e^2)*e^(-2) + 2*a)*sqrt(b*x + a))*A*d*abs(b)/b^2 - 48*((b^3*d^2 + 2*a*b^2*d*e - 3*a^2*b*e^2)*e^(-3/2)*l
og(abs(-sqrt(b*x + a)*sqrt(b)*e^(1/2) + sqrt(b^2*d + (b*x + a)*b*e - a*b*e)))/sqrt(b) + sqrt(b^2*d + (b*x + a)
*b*e - a*b*e)*(2*b*x + (b*d*e - 5*a*e^2)*e^(-2) + 2*a)*sqrt(b*x + a))*A*a*abs(b)*e/b^3)/b

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \left (A+B\,x\right )\,\sqrt {a+b\,x}\,{\left (d+e\,x\right )}^{3/2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((A + B*x)*(a + b*x)^(1/2)*(d + e*x)^(3/2),x)

[Out]

int((A + B*x)*(a + b*x)^(1/2)*(d + e*x)^(3/2), x)

________________________________________________________________________________________